<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | The following language lines contain the default error messages used by
    | the validator class. Some of these rules have multiple versions such
    | as the size rules. Feel free to tweak each of these messages here.
    |
    */

    'accepted'             => ':attribute必须接受',
    'active_url'           => '不是一个合法的链接',
    'after'                => ':attribute日期应大于起始日期',
    'alpha'                => ':attribute仅可包含英文字母',
    'alpha_dash'           => ':attribute仅可包含英文字母, 数字和连字符',
    'alphanumeric'         => ':attribute仅可包含英文字母, 数字和连字符',
    'alpha_num'            => ':attribute仅可包含英文字母, 数字',
    'array'                => ':attribute应是一个数组',
    'before'               => ':attribute日期应小于结束日期',
    'between'              => [
        'numeric' => ':attribute应为介于:min和:max之间的数字',
        'file'    => ':attribute应为介于:minKB和:maxKB之间的文件',
        'string'  => ':attribute应介于:min到:max字节之间',
        'array'   => ':attribute应介于:min到:max个之间',
    ],
    'boolean'              => ':attribute应勾选',
    'confirmed'            => '两次输入的密码不一致', // 应只将此用在密码上 ^_^Y
    'date'                 => ':attribute不是一个有效的日期',
    'date_format'          => ':attribute应为:format的日期格式',
    'different'            => ':attribute应与上一项不同',
    'digits'               => ':attribute应为一个:digits位数',
    'digits_between'       => ':attribute应为一个:min到:max位数',
    'distinct'             => ':attribute重复了',
    'email'                => '请填写一个正确的邮箱',
    'exists'               => ':attribute无效',
    'file'                 => ':attribute应为一个文件',
    'filled'               => ':attribute必填',
    'image'                => ':attribute应为一个图片',
    'in'                   => ':attribute无效',
    'in_array'             => ':attribute不存在',
    'integer'              => ':attribute应为一个整型(整数)',
    'ip'                   => ':attribute应为一个正确的 IP 地址',
    'json'                 => ':attribute应为一个格式正确的 JSON 格式文本',
    'max'                  => [
        'numeric' => ':attribute应小于等于:max',
        'file'    => ':attribute应小于等于:maxKB',
        'string'  => ':attribute应小于等于:max字节',
        'array'   => ':attribute应小于等于:max个',
    ],
    'mimes'                => ':attribute应为:values类型文件',
    'mimetypes'            => ':attribute应为:values类型文件',
    'min'                  => [
        'numeric' => ':attribute应大于等于:min',
        'file'    => ':attribute应大于等于:minKB',
        'string'  => ':attribute应大于等于:min字节',
        'array'   => ':attribute应大于等于:min个',
    ],
    'not_in'               => ':attribute选项无效',
    'numeric'              => ':attribute应为一个数字',
    'present'              => ':attribute必填',
    'regex'                => ':attribute格式不正确',
    'required'             => ':attribute必填',
    'required_if'          => '当:other为:value时:attribute必填',
    'required_unless'      => '当:other不为:values时:attribute必填',
    'required_with'        => '当:values有值时:attribute为必填',
    'required_with_all'    => '当:values有值时:attribute必填',
    'required_without'     => '当:values任意一个为空时:attribute必填',
    'required_without_all' => '当:values全部为空时:attribute必填',
    'same'                 => ':attribute与:other应一致',
    'size'                 => [
        'numeric' => ':attribute应为一个:size位数',
        'file'    => ':attribute应为:sizeKB',
        'string'  => ':attribute应为:size字节',
        'array'   => ':attribute应包含:size个元素',
    ],
    'string'               => ':attribute应为一个文本',
    'timezone'             => ':attribute应为一个合法的时区',
    'unique'               => ':attribute不唯一或已被使用',
    'uploaded'             => ':attribute上传失败',
    'url'                  => '不是一个合法的链接',

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | Here you may specify custom validation messages for attributes using the
    | convention "attribute.rule" to name the lines. This makes it quick to
    | specify a specific custom language line for a given attribute rule.
    |
    */

    'custom' => [
        'attribute-name' => [
            'rule-name' => 'custom-message',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Attributes
    |--------------------------------------------------------------------------
    |
    | The following language lines are used to swap attribute place-holders
    | with something more reader friendly such as E-Mail Address instead
    | of "email". This simply helps us make messages a little cleaner.
    |
    */

    'attributes' => [
        'id'                    => 'id',
        'name'                  => '姓名',
        'fullname'              => '全名',
        'description'           => '描述',
        'email'                 => '邮箱',
        'mail'                  => '邮箱',
        'username'              => '用户名',
        'password'              => '密码',
        'old_password'          => '旧密码',
        'password_confirmation' => '确认密码',
        'type'                  => '类型',
        'avatar'                => '头像',
        'phone'                 => '手机号',
        'country'               => '国家',
        'city'                  => '城市',
        'title'                 => '标题',
        'content'               => '内容',
        'url'                   => '链接',
        'created_at'            => '创建时间',
        'updated_at'            => '更新时间',
        'operation'             => '操作',
        'permission'            => '权限',
        'permission_id'         => '权限id',
        'permission_ids'        => '权限id',
        'author'                => '作者',
        'thumbnail'             => '缩略图',
    ],

];
